package com.dna.common.net.test;

import java.util.ArrayList;
import java.util.List;

import com.dna.common.net.PlugableSocket;

import junit.framework.TestCase;

public class PlugableSocketTestCase extends TestCase {

	List<PlugableSocket> toDispose;
	
	@Override
	protected void setUp() throws Exception {
		super.setUp();
		toDispose = new ArrayList<PlugableSocket>();
	}
	
	@Override
	protected void tearDown() throws Exception {
		super.tearDown();
		for(PlugableSocket s : toDispose)
			try {
				s.close();
			} catch (RuntimeException e) {
				continue;
			}
	}
	
	public void testPlugableSocket() throws Exception {
		//TODO
		assertTrue(true);
	}
	
	
}
